package com.lovo.system.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("t_supplier")
public class SupplierDto implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private int id;

    //供应商名称
    @Excel(name = "供应商名称",orderNum = "1")
    private String supplierName;

    //负责人
    @Excel(name = "负责人",orderNum = "2")
    private String personInCharge;

    //负责人电话
    @Excel(name = "负责人电话",orderNum = "4")
    private String phoneNumber;

    //供应商地址
    @Excel(name = "供应商地址",orderNum = "5")
    private String supplierAddress;

    //经营范围
    @Excel(name = "经营范围",orderNum = "3")
    private String natureOfBusiness;

}
